﻿#region Usings
using BK.BlusinessLogic;
using BK.Model;
using BK.Repositories.Abstract;
#endregion

namespace BK.Import
{
    public class FinancistoExpensesWorkerItem : ExpensesBaseWorkerItem<FinancistoExpense, FinancistoFile, IFinancistoFilesRepository, IFinancistoExpensesRepository>
    {
        #region Instance Methods
        protected override BaseExpensesBl<FinancistoExpense, FinancistoFile> CreateExpensesBl(
            IAccountsRepository accountsRepository,
            IExpensesFilesRepository<FinancistoExpense, FinancistoFile> expensesFilesRepository,
            IExpensesRepository<FinancistoExpense> expensesRepository, ICategoriesRepository categoriesRepository,
            ICurrenciesRepository currenciesRepository, IImportStatusesRepository importStatusesRepository,
            ITargetsRepository targetsRepository, IPaymentsRepository paymentsRepository)
        {
            return new FinancistoExpensesBl(expensesRepository, importStatusesRepository,
                accountsRepository, expensesFilesRepository, categoriesRepository,
                currenciesRepository,
                targetsRepository, paymentsRepository);
        }
        #endregion
    }
}